'use strict';

/**
 * @param {Egg.Application} app - egg application
 */
module.exports = app => {
    const { router, controller } = app;
    //登录
    router.post('/api/login',controller.user.login);
    //请求菜单
    router.get('/api/menulist',controller.user.list);
};
